package 期末练习;

    public class SumTtest {
    public static void main(String[] args) {
        int s=0;
        for (int b = 1; b <=100; b++) {
            if (b%2!=0){
                s+=b;
            }
        }
        System.out.println("1到100之间所有奇数的和：+s");
    }
}
